package com.estate.quarters.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.estate.bean.Quarters;
import com.estate.util.JsonResult;
import org.springframework.stereotype.Service;


@Service
public interface QuartersService extends IService<Quarters> {
    JsonResult findById(String id);

    JsonResult listByPage(int page, int size);

    JsonResult addQuarters(Quarters quarters);

    JsonResult updateQuarters(Quarters quarters);

    JsonResult deleteQuarters(String id);
}
